<template>
	<view class="page">
		<text class="jilu">记录宝宝的一点一滴</text>
		<view class="hezi">
			<view class="div1">
				<view class="div2">
						<image src="/static/img/ceshengao.png" mode=""></image>
				</view>
			
				<text>身高体重</text>
			</view>
			
			<view class="div1">
				<view class="div2">
						<image src="/static/img/riji.png" mode=""></image>
				</view>
				<text>宝宝日记</text>
			</view>
		</view>
		
		<image  class="cha" src="/static/img/dacha.png" mode="" @click="gotoindex()" ></image>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			gotoindex(){
				
					uni.navigateBack({
						url:'/pages/index/index'
					})
				
			}
			
		}
	}
</script>

<style>
.page {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.jilu{
		margin-top: 30%;
		width: 100%;
		font-size: 30px ;
		text-align: center;
	}
	.hezi{
		width: 100%;
		height: 200px;
		display: flex;
		justify-content: space-around;
		flex-direction: row;
		margin-top: 60px;
	}
	.div2{
		width: 100px;
		height: 100px;
		display: flex;
		border-radius: 50%;
		
		margin: 10% 10% 0 10%;
	}
	.hezi image{
		width: 70px;
		height: 70px;
		margin: auto;
		
		
		
	}
	.div1{
		display: flex;
		flex-direction: column;
		width: 30%;
		
	}
	.hezi text{
		margin-top: 20px;
		text-align: center;
		font-size: 20px;
	}
	.cha{
		margin: 50px 45% 0 45%;
		width: 10%;
		height: 40px;
		
	}
</style>
